hang up (someone's) hat

Translations
повесить (чью-то) шляпу
He finally decided to hang up his hat and retire from the company.
Он наконец решил повесить свою шляпу и уйти на пенсию из компании.
Definitions
To retire or stop doing something, especially a job or activity that someone has been involved in for a long time.